/**  
* @Title: Blog.java 
* @Description:
* @Copyright: Copyright (c) 2018
* @Company:http://www.sinocon.cn
* @author Administrator  
* @date 2018年3月27日  
* @version 1.0  
*/
package com.yuanlinsu.project.blog.entity;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuanlinsu.project.system.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文章表
 * 
 * @Title: Blog
 * @Description:
 * @author:Administrator
 * @date 2018年3月27日
 */
@Data
@EqualsAndHashCode(callSuper=true)
@Table(name = "t_b_blog")
public class Blog extends BaseEntity {
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private String pid;
	private String blogTitle;
	private String blogContext;
	private String blogDescription;
	private Integer uid;
	private String blogTag;
	private Date blogCreatetime;
	private Integer blogType;// 类型模式:0为私有，1为公开
	private Integer blogUp;// 置顶:0为否，1为是
	private String blogLocalAddress;
	private String ip;
	private String blogPhoto;// 封面图
}
